// 命名空间
var majiang_hn = {};

// 所有代码
majiang_hn.subPath = 'modules/main/majiang_hn/';
majiang_hn.srcPath= majiang_hn.subPath + 'src/';
majiang_hn.src = [
    majiang_hn.srcPath + 'SubGameLayer.js',
    majiang_hn.srcPath + 'SubCreateRoomWindow.js',
    //湖南
    majiang_hn.srcPath + 'rooms/MaRoomHuNan.js',
    // majiang_hn.srcPath + 'rooms/MaHuNanYiYangRoom.js',
    // majiang_hn.srcPath + 'rooms/MaHuNanChangShaRoom.js',
    /**
     * 麻将窗口
     * 
     */
    majiang_hn.srcPath + 'windows/Ma_ThrowDiceWindow.js',
    majiang_hn.srcPath + 'windows/Ma_ChiPaiWindow.js',
    majiang_hn.srcPath + 'windows/Ma_ZhaNiaoWindow.js',
    majiang_hn.srcPath + 'windows/Ma_PlayBackWindow.js',
    majiang_hn.srcPath + 'windows/Ma_HaiDiPaiWindow.js',
    majiang_hn.srcPath + 'windows/Ma_KaiGangReplayWindow.js',
    majiang_hn.srcPath + 'windows/Ma_KaiGangWindow.js',
    majiang_hn.srcPath + 'windows/Ma_JieSuanWindow.js',
    majiang_hn.srcPath + 'windows/Ma_ZongJieSuanWindow.js',
    majiang_hn.srcPath + 'windows/Ma_HuTipUnit.js',
    /**
     * 结算窗口
     */
    //湖南
    majiang_hn.srcPath + 'windows/jiesuans/Ma_JieSuanHuNanWindow.js',
    /**
     * 总结算
     */
    //湖南
    majiang_hn.srcPath + 'windows/zongjiesuans/Ma_ZongJieSuanHuNanWindow.js',
];
// 所有资源
majiang_hn.resPath= majiang_hn.subPath + 'res/';
majiang_hn.soundCommon = majiang_hn.resPath + 'sound_common/';
majiang_hn.soundMandarin = majiang_hn.resPath + 'sound_mandarin/';
majiang_hn.soundChangsha = majiang_hn.resPath + 'sound_changsha/';
majiang_hn.res = {
    CreateRoomWindow_json : 'modules/main/majiang_hn/res/CreateRoomWindow.json',
    /**
     * 房间
     */
    MaRoomHuNan_json: majiang_hn.resPath + 'room/MaRoomHuNan.json',
    MaRoomHuNan1_json: majiang_hn.resPath + 'room/MaRoomHuNan_1.json',
    /**
     * 组件
     */
    Ma_PlayBackUnit_json: majiang_hn.resPath + 'window/Ma_PlayBackUnit.json',
    Ma_PlayBackUnit_changsha_json: majiang_hn.resPath + 'window/Ma_PlayBackUnit_changsha.json',
    /**
     * 弹窗
     */
    Ma_ChiPaiWindow_json: majiang_hn.resPath + 'window/Ma_ChiPaiWindow.json',
    Ma_HaiDiPaiWindow_json: majiang_hn.resPath + 'window/Ma_HaiDiPaiWindow.json',
    Ma_KaiGangReplayWindow_json: majiang_hn.resPath + 'window/Ma_KaiGangReplayWindow.json',
    Ma_KaiGangWindow_json: majiang_hn.resPath + 'window/Ma_KaiGangWindow.json',
    Ma_ZhaNiaoWindow_json: majiang_hn.resPath + 'window/Ma_ZhaNiaoWindow.json',
    Ma_PlayBackWindow_json: majiang_hn.resPath + 'window/Ma_PlayBackWindow.json',
    Ma_TestFaPaiWindow: majiang_hn.resPath + 'window/Ma_TestFaPaiWindow.json',
    Ma_JieSuanHuNanWindow_json:majiang_hn.resPath + 'window/Ma_JieSuanHuNanWindow.json',
    Ma_ZongJieSuanHuNanWindow_json:majiang_hn.resPath + 'window/Ma_ZongJieSuanHuNanWindow.json',
    Ma_ThrowDiceWindow_json:majiang_hn.resPath + 'window/Ma_ThrowDiceWindow.json',
    Ma_HuTipUnit_json:majiang_hn.resPath + 'window/Ma_HuTipUnit.json',
    /**
     * 图片资源
     */
    signal1: majiang_hn.resPath + 'room/RoomInfoUnit/signal1_1.png',
    signal2: majiang_hn.resPath + 'room/RoomInfoUnit/signal1_2.png',
    signal3: majiang_hn.resPath + 'room/RoomInfoUnit/signal1_3.png',
    signal4: majiang_hn.resPath + 'room/RoomInfoUnit/signal1_4.png',
    signal5: majiang_hn.resPath + 'room/RoomInfoUnit/signal1_5.png',

    wifi_signal1: majiang_hn.resPath + 'room/RoomInfoUnit/wifi0.png',
    wifi_signal2: majiang_hn.resPath + 'room/RoomInfoUnit/wifi1.png',
    wifi_signal3: majiang_hn.resPath + 'room/RoomInfoUnit/wifi2.png',
    wifi_signal4: majiang_hn.resPath + 'room/RoomInfoUnit/wifi3.png',

    battery_1: majiang_hn.resPath + 'room/RoomInfoUnit/battery1.png',
    battery_2: majiang_hn.resPath + 'room/RoomInfoUnit/battery2.png',
    battery_3: majiang_hn.resPath + 'room/RoomInfoUnit/battery3.png',
    battery_4: majiang_hn.resPath + 'room/RoomInfoUnit/battery4.png',
    battery_5: majiang_hn.resPath + 'room/RoomInfoUnit/battery5.png',

    huType_banbanhu: majiang_hn.resPath + 'room/XiaoHuUnit/banbanhu.png',
    huType_bubugao: majiang_hn.resPath + 'room/XiaoHuUnit/bubugao.png',
    huType_jintongyunv: majiang_hn.resPath + 'room/XiaoHuUnit/jintongyunv.png',
    huType_queyise: majiang_hn.resPath + 'room/XiaoHuUnit/queyise.png',
    huType_santong: majiang_hn.resPath + 'room/XiaoHuUnit/santong.png',
    huType_sixi: majiang_hn.resPath + 'room/XiaoHuUnit/sixi.png',
    huType_sixsix: majiang_hn.resPath + 'room/XiaoHuUnit/sixsix.png',
    huType_yizhihua: majiang_hn.resPath + 'room/XiaoHuUnit/yizhihua.png',
    huType_zhongtusixi: majiang_hn.resPath + 'room/XiaoHuUnit/zhongtusixi.png',
    huType_zhongtusixsix: majiang_hn.resPath + 'room/XiaoHuUnit/zhongtusixsix.png',

    PaiUnit_lb_lai: majiang_hn.resPath + 'room/PaiUnit/lb_lai.png',
    PaiUnit_lb_pi: majiang_hn.resPath + 'room/PaiUnit/lb_pi.png',
    // PaiUnit_laizi_kuang: majiang_hn.resPath + 'room/PaiUnit/laizi_kuang.png',

    PaiUnit_hupaitip_jiao: majiang_hn.resPath + 'room/PaiUnit/hupaitip_jiao.png',
    // PaiUnit_hupai_tips_icon: majiang_hn.resPath + 'room/PaiUnit/hupai_tips_icon.png',
    PaiUnit_toast_bg: majiang_hn.resPath + 'room/PaiUnit/hupaitip_bg.png',
    PaiUnit_hupaitip_hu: majiang_hn.resPath + 'room/PaiUnit/hupaitip_hu.png',

    PaiUnit_arrow: majiang_hn.resPath + 'room/PaiUnit/arrow.png',
    PaiUnit_narrow_0: majiang_hn.resPath + 'room/PaiUnit/narrow0.png',
    PaiUnit_narrow_1: majiang_hn.resPath + 'room/PaiUnit/narrow1.png',
    PaiUnit_narrow_2: majiang_hn.resPath + 'room/PaiUnit/narrow2.png',
    PaiUnit_narrow_3: majiang_hn.resPath + 'room/PaiUnit/narrow3.png',

    ChiPengGangHuUnit_bu: majiang_hn.resPath + 'room/ChiPengGangHuUnit/bu.png',
    ChiPengGangHuUnit_ting: majiang_hn.resPath + 'room/ChiPengGangHuUnit/ting.png',
    /**
     * 牌
     */
    pai_hn_plist: majiang_hn.resPath + 'room/PaiUnit/pai.plist',
    pai_hn_png: majiang_hn.resPath + 'room/PaiUnit/pai.png',

    dice_plist: majiang_hn.resPath + 'window/Ma_ThrowDiceWindow/dice.plist',
    dice_png: majiang_hn.resPath + 'window/Ma_ThrowDiceWindow/dice.png',

    mjbg: 'modules/main/majiang_hn/res/room/PaiUnit/mjbg.png',
    /**
     * 背景图
     */
    table_back0_jpg: majiang_hn.resPath + 'room/RoomInfoUnit/majiang_back_0.jpg',
    table_back1_jpg: majiang_hn.resPath + 'room/RoomInfoUnit/majiang_back_1.jpg',
    table_back2_jpg: majiang_hn.resPath + 'room/RoomInfoUnit/majiang_back_2.jpg',
    table_back3_jpg: majiang_hn.resPath + 'room/RoomInfoUnit/majiang_back_0.jpg',
    /**
     * 牌桌logo
     */
    majiang_logo_CS: majiang_hn.resPath + 'room/RoomInfoUnit/majiang_logo_CS.png',
    majiang_logo_HZ: majiang_hn.resPath + 'room/RoomInfoUnit/majiang_logo_HZ.png',
    majiang_logo_ZZ: majiang_hn.resPath + 'room/RoomInfoUnit/majiang_logo_ZZ.png',

    majiang_logo_yueyang: majiang_hn.resPath + 'room/RoomInfoUnit/majiang_logo_yueyang.png',
    majiang_logo_chenzhou: majiang_hn.resPath + 'room/RoomInfoUnit/majiang_logo_chenzhou.png',
    majiang_logo_shaoyang: majiang_hn.resPath + 'room/RoomInfoUnit/majiang_logo_shaoyang.png',
    majiang_logo_yiyang: majiang_hn.resPath + 'room/RoomInfoUnit/majiang_logo_yiyang.png',
    majiang_logo_suogangzi: majiang_hn.resPath + 'room/RoomInfoUnit/majiang_logo_suogangzi.png',

    /**
     * 吃碰杠胡动画
     */
    chi_json: majiang_hn.resPath + 'animation/chipengganghu/MJ_chi.json',
    gang_json: majiang_hn.resPath + 'animation/chipengganghu/MJ_gang.json',
    peng_json: majiang_hn.resPath + 'animation/chipengganghu/MJ_peng.json',
    zimo_json: majiang_hn.resPath + 'animation/chipengganghu/MJ_zimo.json',
    hu_json: majiang_hn.resPath + 'animation/chipengganghu/MJ_hu.json',
    bu_json: majiang_hn.resPath + 'animation/chipengganghu/MJ_bu.json',
    lang_json: majiang_hn.resPath + 'animation/chipengganghu/MJ_lang.json',
    bai_json: majiang_hn.resPath + 'animation/chipengganghu/MJ_bai.json',
    ting_json: majiang_hn.resPath + 'animation/chipengganghu/MJ_ting.json',
    liang_json: majiang_hn.resPath + 'animation/chipengganghu/MJ_liang.json',
    liuju_json: majiang_hn.resPath + 'animation/chipengganghu/MJ_liuju.json',
    baobian_json: majiang_hn.resPath + 'animation/chipengganghu/MJ_baobian.json',
    baodiao_json: majiang_hn.resPath + 'animation/chipengganghu/MJ_baodiao.json',
    baoduidao_json: majiang_hn.resPath + 'animation/chipengganghu/MJ_baoduidao.json',
    baojia_json: majiang_hn.resPath + 'animation/chipengganghu/MJ_baojia.json',
    baoting_json: majiang_hn.resPath + 'animation/chipengganghu/MJ_baoting.json',
    dianpao_json: majiang_hn.resPath + 'animation/chipengganghu/MJ_dianpao.json',

    /**
     * 背景音乐列表
     */
    vbg_ma1: majiang_hn.soundCommon + 'bgm_ma1.mp3',
    vbg_ma2: majiang_hn.soundCommon + 'bgm_ma2.mp3',
    vbg_ma3: majiang_hn.soundCommon + 'bgm_ma3.mp3',
    vButtonClick: majiang_hn.soundCommon + 'audio_button_click.mp3',
    vCardClick: majiang_hn.soundCommon + 'audio_card_click.mp3',
    vCardOut: majiang_hn.soundCommon + 'audio_card_out.mp3',
    vDealCard: majiang_hn.soundCommon + 'audio_deal_card.mp3',
    vEnter: majiang_hn.soundCommon + 'audio_enter.mp3',
    vLeft: majiang_hn.soundCommon + 'audio_left.mp3',
    vLiuju: majiang_hn.soundCommon + 'audio_liuju.mp3',
    vLose: majiang_hn.soundCommon + 'audio_lose.mp3',
    vReady: majiang_hn.soundCommon + 'audio_ready.mp3',
    vWin: majiang_hn.soundCommon + 'audio_win.mp3',
    /**
     * 普通话
     */
    vchi_1: majiang_hn.soundMandarin + 'man/chi.mp3',
    vchi_2: majiang_hn.soundMandarin + 'woman/chi.mp3',
    vpeng_1: majiang_hn.soundMandarin + 'man/peng.mp3',
    vpeng_2: majiang_hn.soundMandarin + 'woman/peng.mp3',
    vgang_1: majiang_hn.soundMandarin + 'man/gang.mp3',
    vgang_2: majiang_hn.soundMandarin + 'woman/gang.mp3',
    vangang_1: majiang_hn.soundMandarin + 'man/angang.mp3',
    vangang_2: majiang_hn.soundMandarin + 'woman/angang.mp3',
    vbu_1: majiang_hn.soundMandarin + 'man/buzhang.mp3',
    vbu_2: majiang_hn.soundMandarin + 'woman/buzhang.mp3',
    vhu_1: majiang_hn.soundMandarin + 'man/hu.mp3',
    vhu_2: majiang_hn.soundMandarin + 'woman/hu.mp3',
    vhu_dfz_1: majiang_hn.soundMandarin + 'man/hu.mp3',
    vhu_dfz_2: majiang_hn.soundMandarin + 'woman/hu.mp3',
    vhu_pao_1: majiang_hn.soundMandarin + 'man/hu.mp3',
    vhu_pao_2: majiang_hn.soundMandarin + 'woman/hu.mp3',
    vhu_qs_1: majiang_hn.soundMandarin + 'man/hu.mp3',
    vhu_qs_2: majiang_hn.soundMandarin + 'woman/hu.mp3',
    vzimo_1: majiang_hn.soundMandarin + 'man/zimo.mp3',
    vzimo_2: majiang_hn.soundMandarin + 'woman/zimo.mp3',
    /**
     * 长沙话
     */
    vcs_chi_1_0: majiang_hn.soundChangsha + 'man/chi.mp3',
    vcs_chi_1_1: majiang_hn.soundChangsha + 'man/chi_1.mp3',
    vcs_chi_2_0: majiang_hn.soundChangsha + 'woman/chi.mp3',
    vcs_chi_2_1: majiang_hn.soundChangsha + 'woman/chi_1.mp3',
    vcs_peng_1_0: majiang_hn.soundChangsha + 'man/peng.mp3',
    vcs_peng_1_1: majiang_hn.soundChangsha + 'man/peng_1.mp3',
    vcs_peng_2_0: majiang_hn.soundChangsha + 'woman/peng.mp3',
    vcs_peng_2_1: majiang_hn.soundChangsha + 'woman/peng_1.mp3',
    vcs_gang_1_0: majiang_hn.soundChangsha + 'man/gang.mp3',
    vcs_gang_1_1: majiang_hn.soundChangsha + 'man/gang_1.mp3',
    vcs_gang_2_0: majiang_hn.soundChangsha + 'woman/gang.mp3',
    vcs_gang_2_1: majiang_hn.soundChangsha + 'woman/gang_1.mp3',
    vcs_angang_1_0: majiang_hn.soundChangsha + 'man/buzhang.mp3',
    vcs_angang_1_1: majiang_hn.soundChangsha + 'man/buzhang_1.mp3',
    vcs_angang_2_0: majiang_hn.soundChangsha + 'woman/buzhang.mp3',
    vcs_angang_2_1: majiang_hn.soundChangsha + 'woman/buzhang_1.mp3',
    vcs_ting_1_0: majiang_hn.soundChangsha + 'man/ting.mp3',
    vcs_ting_1_1: majiang_hn.soundChangsha + 'man/ting_1.mp3',
    vcs_ting_2_0: majiang_hn.soundChangsha + 'woman/ting.mp3',
    vcs_ting_2_1: majiang_hn.soundChangsha + 'woman/ting_1.mp3',
    vcs_hu_dfz_1_0: majiang_hn.soundChangsha + 'man/hu_dafanzi.mp3',
    vcs_hu_dfz_1_1: majiang_hn.soundChangsha + 'man/hu_dafanzi_1.mp3',
    vcs_hu_dfz_2_0: majiang_hn.soundChangsha + 'woman/hu_dafanzi.mp3',
    vcs_hu_dfz_2_1: majiang_hn.soundChangsha + 'woman/hu_dafanzi_1.mp3',
    vcs_hu_pao_1_0: majiang_hn.soundChangsha + 'man/hu_pao.mp3',
    vcs_hu_pao_1_1: majiang_hn.soundChangsha + 'man/hu_pao_1.mp3',
    vcs_hu_pao_2_0: majiang_hn.soundChangsha + 'woman/hu_pao.mp3',
    vcs_hu_pao_2_1: majiang_hn.soundChangsha + 'woman/hu_pao_1.mp3',
    vcs_hu_qs_1_0: majiang_hn.soundChangsha + 'man/hu_qishou.mp3',
    vcs_hu_qs_1_1: majiang_hn.soundChangsha + 'man/hu_qishou_1.mp3',
    vcs_hu_qs_2_0: majiang_hn.soundChangsha + 'woman/hu_qishou.mp3',
    vcs_hu_qs_2_1: majiang_hn.soundChangsha + 'woman/hu_qishou_1.mp3',
    vcs_zimo_1_0: majiang_hn.soundChangsha + 'man/hu_zimo.mp3',
    vcs_zimo_1_1: majiang_hn.soundChangsha + 'man/hu_zimo_1.mp3',
    vcs_zimo_2_0: majiang_hn.soundChangsha + 'woman/hu_zimo.mp3',
    vcs_zimo_2_1: majiang_hn.soundChangsha + 'woman/hu_zimo_1.mp3',
    vcs_saizi_1_0: majiang_hn.soundChangsha + 'man/saizi.mp3',
    vcs_saizi_1_1: majiang_hn.soundChangsha + 'man/saizi_1.mp3',
    vcs_saizi_2_0: majiang_hn.soundChangsha + 'woman/saizi.mp3',
    vcs_saizi_2_1: majiang_hn.soundChangsha + 'woman/saizi_1.mp3',
};

/**
 * 方言资源
 */
var dialect_res = dialect_res || {};
majiang_hn.dialect = {
    vchi_1: [majiang_hn.res.vcs_chi_1_0, majiang_hn.res.vcs_chi_1_1],
    vchi_2: [majiang_hn.res.vcs_chi_2_0, majiang_hn.res.vcs_chi_2_1],
    vpeng_1: [majiang_hn.res.vcs_peng_1_0, majiang_hn.res.vcs_peng_1_1],
    vpeng_2: [majiang_hn.res.vcs_peng_2_0, majiang_hn.res.vcs_peng_2_1],
    vgang_1: [majiang_hn.res.vcs_gang_1_0, majiang_hn.res.vcs_gang_1_1],
    vgang_2: [majiang_hn.res.vcs_gang_2_0, majiang_hn.res.vcs_gang_2_1],
    vting_1: [majiang_hn.res.vcs_ting_1_0, majiang_hn.res.vcs_ting_1_1],
    vting_2: [majiang_hn.res.vcs_ting_2_0, majiang_hn.res.vcs_ting_2_1],
    vangang_1: [majiang_hn.res.vcs_angang_1_0, majiang_hn.res.vcs_angang_1_1],
    vangang_2: [majiang_hn.res.vcs_angang_2_0, majiang_hn.res.vcs_angang_2_1],
    vhu_dfz_1: [majiang_hn.res.vcs_hu_dfz_1_0, majiang_hn.res.vcs_hu_dfz_1_1],
    vhu_dfz_2: [majiang_hn.res.vcs_hu_dfz_2_0, majiang_hn.res.vcs_hu_dfz_2_1],
    vhu_pao_1: [majiang_hn.res.vcs_hu_pao_1_0, majiang_hn.res.vcs_hu_pao_1_1],
    vhu_pao_2: [majiang_hn.res.vcs_hu_pao_2_0, majiang_hn.res.vcs_hu_pao_2_1],
    vhu_fqs_1: majiang_hn.res.vcs_hu_pao_1_0,
    vhu_fqs_2: majiang_hn.res.vcs_hu_pao_2_0,
    vhu_qs_1: [majiang_hn.res.vcs_hu_qs_1_0, majiang_hn.res.vcs_hu_qs_1_1],
    vhu_qs_2: [majiang_hn.res.vcs_hu_qs_2_0, majiang_hn.res.vcs_hu_qs_2_1],
    vzimo_1: [majiang_hn.res.vcs_zimo_1_0, majiang_hn.res.vcs_zimo_1_1],
    vzimo_2: [majiang_hn.res.vcs_zimo_2_0, majiang_hn.res.vcs_zimo_2_1],
    vsaizi_1: [majiang_hn.res.vcs_saizi_1_0, majiang_hn.res.vcs_saizi_1_1],
    vsaizi_2: [majiang_hn.res.vcs_saizi_2_0, majiang_hn.res.vcs_saizi_2_1]
};

_.forIn(majiang_hn.dialect, function (value, key) {
    dialect_res[key] = value;
});

/**
 * 麻将普通话
 */
for (var i = 1; i <= 34; i++) {
    majiang_hn.res['vp' + i + '_1'] = majiang_hn.soundMandarin + 'man/' + i + '.mp3';
    majiang_hn.res['vp' + i + '_2'] = majiang_hn.soundMandarin + 'woman/' + i + '.mp3';
}
/**
 * 长沙话
 */
majiang_hn.hassp = [10, 19, 27];
for (var i = 1; i <= 27; i++) {
    majiang_hn.res['vcsp' + i + '_1'] = majiang_hn.soundChangsha + 'man/' + i + '.mp3';
    majiang_hn.res['vcsp' + i + '_2'] = majiang_hn.soundChangsha + 'woman/' + i + '.mp3';
    for (var j in majiang_hn.hassp) {
        if (majiang_hn.hassp.hasOwnProperty(j) && i == majiang_hn.hassp[j]) {
            majiang_hn.res['vcsp' + i + '_1_1'] = majiang_hn.soundChangsha + 'man/' + i + '_1.mp3';
            majiang_hn.res['vcsp' + i + '_2_1'] = majiang_hn.soundChangsha + 'woman/' + i + '_1.mp3';
        }
    }
}
for (var i = 1; i <= 34; i++) {
    var found = false;
    for (var j in majiang_hn.hassp) {
        if (majiang_hn.hassp.hasOwnProperty(j) && i == majiang_hn.hassp[j]) {
            found = true;
            break;
        }
    }
    if (!found) {
        dialect_res['vp' + i + '_1'] = majiang_hn.res['vcsp' + i + '_1'];
        dialect_res['vp' + i + '_2'] = majiang_hn.res['vcsp' + i + '_2'];
    } else {
        dialect_res['vp' + i + '_1'] = [majiang_hn.res['vcsp' + i + '_1'], majiang_hn.res['vcsp' + i + '_1_1']];
        dialect_res['vp' + i + '_2'] = [majiang_hn.res['vcsp' + i + '_2'], majiang_hn.res['vcsp' + i + '_2_1']];
    }
}

majiang_hn.wanfaMaps = {
    ZHUANZHUAN: {
        mapid: app.map_id.ZHUANZHUAN
    },
    CHANGSHA: {
        mapid: app.map_id.CHANGSHA
    },
    HONGZHONG: {
        mapid: app.map_id.HONGZHONG
    },
    WD: {
        mapid: app.map_id.WD
    },
    YIYANG: {
        mapid: app.map_id.YIYANG
    },
    YIYANG_SUOGANGZI: {
        mapid: app.map_id.YIYANG_SUOGANGZI
    },
    YUEYANG: {
        mapid: app.map_id.YUEYANG
    },
    CHENZHOU: {
        mapid: app.map_id.CHENZHOU
    },
    SHAOYANG: {
        mapid: app.map_id.SHAOYANG
    },
};

majiang_hn.wanfaTitle = {

};

majiang_hn.dialect_res = {

};
majiang_hn.create_room_tabData = {
    btn_10: {
        click: ['mapid_0'],
        show: ['word_rs', 'word_zm', 'word_wf', 'word_jushu', 'word_fufei'],
        hide: ['word_fd', 'word_pf', 'word_ma', 'word_df', 'word_fx', 'word_wf1', 'word_jushu1', 'word_fzb']
    }
};

var mj_create = {};
mj_create.pos3X = {
    1: 455,
    2: 695,
    3: 935
};
mj_create.pos4X = {
    1: 455,
    2: 605,
    3: 755,
    4: 905
};
mj_create.posY = {
    1: 584,
    2: 534,
    3: 484,
    4: 434,
    5: 384,
    6: 334,
    7: 284,
    8: 234,
    9: 184,
    10: 134
};
majiang_hn.create_room_wanFaData = [
    ['mapid', [
        // ['转转麻将', app.map_id.ZHUANZHUAN, -1000, -1000, true, true, false],
        // ['长沙麻将', app.map_id.CHANGSHA, -1000, -1000, false, true, false],
        // ['红中麻将', app.map_id.HONGZHONG, -1000, -1000, false, true, false],
        ['王钓麻将', app.map_id.WD, -1000, -1000, false, true, false],
    ]],
    ['AA', [
        ['房主支付', false, mj_create.pos3X[1], mj_create.posY[1], true, true, false, null, ['mapid_0', 'mapid_1', 'mapid_2']],
        ['AA支付', true, mj_create.pos3X[2], mj_create.posY[1], false, true, false, null, ['mapid_0', 'mapid_1', 'mapid_2']]
    ]],
    ['jushu', [
        ['8局', 8, mj_create.pos3X[1], mj_create.posY[2], true, true, false, null, ['mapid_0', 'mapid_1', 'mapid_2']],
        ['10局', 10, mj_create.pos3X[2], mj_create.posY[2], false, true, false, null, ['mapid_0', 'mapid_1', 'mapid_2']],
        ['20局', 20, mj_create.pos3X[3], mj_create.posY[2], false, true, false, null, ['mapid_0', 'mapid_1', 'mapid_2']]
    ]],
    ['maxPlayerCnt', [
        ['2人', 2, mj_create.pos3X[3],  mj_create.posY[3], false, true, false, null, ['mapid_0']],
        ['3人', 3, mj_create.pos3X[2],  mj_create.posY[3], false, true, false, null, ['mapid_0']],
        ['4人', 4, mj_create.pos3X[1],  mj_create.posY[3], true, true, false, null, ['mapid_0']]
    ]],
    // ['maxPlayerCnt', [
    //     ['2人', 2, majiang.posCfg.col[3], majiang.posCfg.row[3], false, true, false, null, ['mapid_2']],
    //     ['3人', 3, majiang.posCfg.col[2], majiang.posCfg.row[3], false, true, false, null, ['mapid_2']],
    //     ['4人', 4, majiang.posCfg.col[1], majiang.posCfg.row[3], true, true, false, null, ['mapid_2']]
    // ]],
    ['withYingHu', [
        ['两片', true, mj_create.pos3X[1],  mj_create.posY[4], false, false, false, null, ['mapid_0']]
    ]],
    ['withQiangGangHu', [
        ['抢杠胡', true, mj_create.pos3X[2],  mj_create.posY[4], false, false, false, null, ['mapid_0']]
    ]],
    ['withQiDui', [
        ['七对可胡', true, mj_create.pos3X[3],  mj_create.posY[4], false, false, false, null, ['mapid_0']]
    ]],
    ['withPiao', [
        ['飘', true, mj_create.pos3X[1],  mj_create.posY[5], true, false, false, null, ['mapid_0']]
    ]],
    ['quanKaiFang', [
        ['全开放', true, mj_create.pos3X[2],  mj_create.posY[5], false, false, false, null, ['mapid_0']]
    ]],
    ['zhuaMaNum', [
        ['4码', 4, mj_create.pos4X[1],  mj_create.posY[6], true, true, false, null, ['mapid_0']],
        ['6码', 6, mj_create.pos4X[2],  mj_create.posY[6], false, true, false, null, ['mapid_0']],
        ['8码', 8, mj_create.pos4X[3],  mj_create.posY[6], false, true, false, null, ['mapid_0']],
        ['数字码',100, mj_create.pos4X[4],   mj_create.posY[6], false, true, false, null, ['mapid_0']]
    ]]

];
/**
 * 混桌适配文件
 * @type {Object}
 */
// majiang_hn.club_hunzhuo = {
//
//     'btn_10' :{
//         'hide':['liangrenwan','sanrenwan','siren'],
//         'view':['wanjiarenshu0','wanjiarenshu1','wanjiarenshu2'],
//     },
// };

majiang_hn.fangka = {
    // btn_7: [[5, 10], [2, 4]],
    // btn_8: [[5, 10], [2, 4]],
    // btn_9: [[5, 10], [2, 4]],
    btn_10: [[5, 10], [2, 4]]
};